<template>
  <div class="common-layout">
    <el-container>
      <!-- 左侧导航栏组件 -->
      <Aside></Aside>
      <el-container>
        <el-header>
          <!-- 头部组件 -->
          <Header></Header>
        </el-header>
        <el-main>
          <!-- 路由出口 -->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup>
  import Aside from '../components/aside.vue'
  import Header from '../components/navHeader.vue'
</script>
<style lang="less" scoped>
  .common-layout {
    height: 100%;

    .el-container {
      height: 100%;
    }
  }
</style>